<table class="form_table" cellpadding="0" cellspacing="0" style="border-top: 0px;">

  <caption style="border-bottom: 0px;">
    <%= "#{Student.human_name}" %>
  </caption>

  <tr>
    <td class="label"><%= label_tag Student.human_attribute_name(:registration_code) %></td>
    <td><%= @student.registration_code %></td>
    <td class="avatar" rowspan="4"><%= image_tag @student.person.avatar.url(:thumb) %></td>
  </tr>
  <tr>
    <td class="label"><%= label_tag Student.human_attribute_name(:admission_date) %></td>
    <td><%= l(@student.admission_date.to_date, :format => 'short') %></td>
  </tr>
   <tr>
    <td class="label"><%= label_tag Person.human_attribute_name(:full_name) %></td>
    <td><%= @student.person.full_name %></td>
  </tr>
  <tr>
    <td class="label"><%= label_tag Person.human_attribute_name(:dob) %></td>
    <td><%= l(@student.person.dob.to_date, :format => 'short') %></td>
  </tr>
</table>